#!/bin/sh

SRC=presentation.rst
IMAGES=images
THEME=default


# Convert SVG images to PNG
cd $IMAGES
for image in *.svg; do
    base=`basename $image .svg`
    inkscape -e $base.png $image
done
cd ..

# Make slides
rst2s5 --theme $THEME $SRC slides.html
